import {get, post} from "@/utils/request";

export const getPurse = (userId) => get("/purse/purse/findPurse?userId=" + userId);

// export const getPurseById = (id) => get("/purse/purse/findPurseById/" + id);

export const deletePurse = (id) => post("/purse/purse/deletePurse/" + id);

export const addCard = (data) => post("/purse/purse/addCard", data);

export const updatePP = (id) => get("/purse/purse/updatePP/" + id);

export const updatePS = (id) => get("/purse/purse/updatePS/" + id);
export const updatePF = (id) => get("/purse/purse/updatePF/" + id);
export const updatePF1 = (id) => get("/purse/purse/updatePF1/" + id);
